package com.example.intentservicedemo;

import android.app.IntentService;
import android.content.Intent;
import android.util.Log;

/**
 * Created by mhysa on 2017/3/10.
 */

public class IntentService2Me extends IntentService{

    /* public IntentService2Me(String name) {
         super(name);
     }*/
    public IntentService2Me(){
        super("mhysa");

    }
    @Override
    protected void onHandleIntent(Intent intent) {
        String mhysa = intent.getStringExtra("mhysa");
        Log.i("mhysa-->",mhysa);

    }
}
